<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../../common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<sfa:mainTitle></sfa:mainTitle>
		<%@ include file="../../../common/meta.jsp"%>
		<script type="text/javascript" language="Javascript"
			src="../../../script/FusionCharts/FusionCharts.js">
</script>
		<script type="text/javascript">
$(function() {
	fixTable.FixTable("mytable");
	$("#fullScreen").click(function() {
		fullScreen.FullScreen("mylist");
	});
})

function doQuery() {
	document.form1.action = "${path}/report/base/index/monthProductStructure";
	document.form1.submit();

}
function doExport(type) {
	document.form1.action = "${path}/report/base/index/monthProductStructureExport?type="+type;
	document.form1.submit();
}
</script>
	</head>
	<body id="master">
		<sfa:mainHeader></sfa:mainHeader>
		<form action="" name="form1" method="post">
			<div class="webpart3 contentarea">
				<div class="webpart-head">
					<div class="webpart-head-item">
						本月产品结构
						<div class="tools-btn" style="width: 250px;">
							<a href="####" onclick="doExport('pdf')"><span> <img
										src="${path}/statics/images/dcpdf.gif"
										style="margin-right: 4px; margin-bottom: -3px;" />导出PDF</span> </a>
							<a href="####" onclick="doExport('excel')"><span> <img
										src="${path}/statics/images/dcexcel.gif"
										style="margin-right: 4px; margin-bottom: -3px;" />导出EXCEL</span> </a>
							<a href="####" id="fullScreen"><span> <img
										src="${path}/statics/images/qp.gif"
										style="margin-right: 4px; margin-bottom: -3px;" />全屏</span> </a>
						</div>
					</div>
				</div>
				<!-- 查詢列表 -->
				<div id="mylist" style="height: 365px;" class="dlist">
					<table id="mytable" cellpadding="0" cellspacing="0"
						class="dg_borderstyle  trStyleTable"
						style="margin-top: 15px; text-align: center;">
						<tr>
							<th colspan="2" rowspan="2" align="left"
								style="min-width: 120px; max-width: 120px;" name="fixcol">
								机构
							</th>
							<th colspan="2" rowspan="2"
								style="min-width: 80px; max-width: 80px;">
								总受理业绩
							</th>
							<th colspan="2">
								生命
							</th>
							<th colspan="2">
								海康
							</th>
							<th colspan="2">
								中意
							</th>
							<th colspan="2">
								中英
							</th>
							<th colspan="2">
								泰康
							</th>
							<th colspan="2">
								民生
							</th>
						</tr>
						<tr>
							<th>
								价保
							</th>
							<th>
								占比
							</th>
							<th>
								价保
							</th>
							<th>
								占比
							</th>
							<th>
								价保
							</th>
							<th>
								占比
							</th>
							<th>
								价保
							</th>
							<th>
								占比
							</th>
							<th>
								价保
							</th>
							<th>
								占比
							</th>
							<th>
								价保
							</th>
							<th>
								占比
							</th>
						</tr>

						<c:forEach items="${pagination}" var="list">
							<tr>
								<td colspan="2">
									${list.ubranchname}
								</td>
								<td colspan="2">
									${empty(list.col1)?0:list.col1}
								</td>

								<td>
									${empty(list.col2)?0:list.col2}
								</td>
								<td>
									${list.col3}%
								</td>
								<td>
									${empty(list.col4)?0:list.col4}
								</td>
								<td>
									${list.col5}%
								</td>
								<td>
									${empty(list.col6)?0:list.col6}
								</td>
								<td>
									${list.col7}%
								</td>
								<td>
									${empty(list.col8)?0:list.col8}
								</td>
								<td>
									${list.col9}%
								</td>
								<td>
									${empty(list.col10)?0:list.col10}
								</td>
								<td>
									${list.col11}%
								</td>
								<td>
									${empty(list.col12)?0:list.col12}
								</td>
								<td>
									${list.col13}%
								</td>
							</tr>

						</c:forEach>
						<tr>
							<td colspan="2">
								全省
							</td>
							<td colspan="2">
								${c1}
							</td>
							<td>
								${c2}
							</td>
							<td>
								${c3}
							</td>
							<td>
								${c4}
							</td>
							<td>
								${c5}
							</td>
							<td>
								${c6}
							</td>
							<td>
								${c7}
							</td>
							<td>
								${c8}
							</td>
							<td>
								${c9}
							</td>
							<td>
								${c10}
							</td>
							<td>
								${c11}
							</td>
							<td>
								${c12}
							</td>
							<td>
								${c13}
							</td>
						</tr>

					</table>
				</div>
				<div class="webpart-foot">
					<div class="webpart-foot-item">
					</div>
				</div>

			</div>




		</form>

		<sfa:mainFooter></sfa:mainFooter>
		</div>
	</body>
</html>